package me.ivenapp.gomoku;

import ohos.aafwk.ability.AbilityPackage;

public class MyApplication extends AbilityPackage {
    private static int colorMode;

    @Override
    public void onInitialize() {
        super.onInitialize();
        colorMode = getColorMode();
    }

    /**
     * 获取配置文件中配置的颜色模式
     * @return
     */
    public static int getConfigColorMode() {
        return colorMode;
    }
}
